package com.planet.facade;

import com.planet.query.UserQuery;
import com.planet.vo.UserVO;
import org.apache.ibatis.annotations.Param;

/**
 * Created by jiayazi on 17/11/15.
 */
public interface UserBiz {

    //插入用户
    int insertSelective(UserQuery userQuery);

    //获取用户信息
    UserVO selectByPrimaryKey(String userId);

    //检查用户名是否存在
    String checkUserName(String userName);

    //登陆
    String login(@Param("userName")String userName, @Param("passWord")String passWord);
}
